class Document {
	Data pd;
	Document (Factory pf){
		pd = pf.CreateDataObject();
	}
	public void DisplayData(){
		pd.DisplayValue();
	}
}
